package com.vsd.domain;
import javax.persistence.Entity;


import javax.persistence.Id;

import javax.persistence.Table;

import javax.persistence.Column;

import java.util.Date;


@Entity
@Table(name="f_user_coupon")
public class UserCoupon {

	@Id
	private String id;
	@Column(name="coupon_id")
	private String couponId;
	@Column(name="code")
	private String code;
	@Column(name="user_id")
	private String userId;
	@Column(name="state")
	private Integer state;
	@Column(name="use_time")
	private Date useTime;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getCouponId(){
		return couponId;
	}
	public void setCouponId(String couponId){
		this.couponId = couponId;
	}
	public String getCode(){
		return code;
	}
	public void setCode(String code){
		this.code = code;
	}
	public String getUserId(){
		return userId;
	}
	public void setUserId(String userId){
		this.userId = userId;
	}
	public Integer getState(){
		return state;
	}
	public void setState(Integer state){
		this.state = state;
	}
	public Date getUseTime(){
		return useTime;
	}
	public void setUseTime(Date useTime){
		this.useTime = useTime;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	
}
